package com.robot.member.pojo.vo.map.tencent;

import com.alibaba.fastjson.annotation.JSONField;
import com.robot.member.pojo.vo.map.Location;

public class TencentAddressToPointResult {
    private String title;
    private Location location;
    @JSONField(name = "ad_info")
    //不加注解JSONField好像也没错,adInfo会自动转换为ad_info
    private TencentAddressToPointAdInfo adInfo;
    @JSONField(name = "address_components")
    private TencentAddressToPointAddressComponents address_components;
    private double similarity;
    private int deviation;
    private int reliability;
    private int level;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Location getLocation() {
        return location;
    }

    public void setLocation(Location location) {
        this.location = location;
    }

    public TencentAddressToPointAdInfo getAdInfo() {
        return adInfo;
    }

    public void setAdInfo(TencentAddressToPointAdInfo adInfo) {
        this.adInfo = adInfo;
    }

    public TencentAddressToPointAddressComponents getAddress_components() {
        return address_components;
    }

    public void setAddress_components(TencentAddressToPointAddressComponents address_components) {
        this.address_components = address_components;
    }

    public double getSimilarity() {
        return similarity;
    }

    public void setSimilarity(double similarity) {
        this.similarity = similarity;
    }

    public int getDeviation() {
        return deviation;
    }

    public void setDeviation(int deviation) {
        this.deviation = deviation;
    }

    public int getReliability() {
        return reliability;
    }

    public void setReliability(int reliability) {
        this.reliability = reliability;
    }

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    @Override
    public String toString() {
        return "TencentAddressToPointResult{" +
                "title='" + title + '\'' +
                ", location=" + location +
                ", adInfo=" + adInfo +
                ", address_components=" + address_components +
                ", similarity=" + similarity +
                ", deviation=" + deviation +
                ", reliability=" + reliability +
                ", level=" + level +
                '}';
    }
}
